package com.xxkj.redis.lock;

public interface Lock {

    /**
     * 获取锁
     * @return
     */
    boolean acquire();

    /**
     *
     *  释放锁
     * @return
     */
    boolean release();
}

